<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>语文古诗文复习助手</title>
    <link rel="stylesheet" href="../css/common.css">
    <link rel="stylesheet" href="../css/review.css">
</head>
<body>
    <div class="container">
        <!-- 页面头部 -->
        <header class="review-header">
            <h1>语文古诗文复习助手</h1>
            <p>点击词汇卡片，深入学习古诗文中的重点词汇</p>
            <button class="home-btn" onclick="goHome()">返回主页</button>
        </header>

        <!-- 词汇网格 -->
        <div class="word-grid">
            <div class="word-card" onclick="showWordDetails('就')">
                <h3>就</h3>
                <p>古文中的多义词，含义丰富</p>
            </div>
            <div class="word-card" onclick="showWordDetails('假')">
                <h3>假</h3>
                <p>古文中的常用词，用法多样</p>
            </div>
        </div>

        <!-- 加载动画 -->
        <div class="loading-spinner hidden">
            <div class="spinner"></div>
            <p>检索中...</p>
        </div>

        <!-- 词汇详情 -->
        <div class="word-details hidden">
            <!-- 内容将通过JavaScript动态生成 -->
        </div>
    </div>

    <script src="../js/data.js"></script>
    <script src="../js/review.js"></script>
</body>
</html> 